import { NGameRPCClass, NGameRPCFun } from "../../../../ngame/decorator/NDecorator";
import { NGameMessage } from "../../../../ngame/protobuf/NGameMessage/NGameMessage";

@NGameRPCClass()
export class SNWorld2ChatAction {

    /**
     * 发送聊天消息
     */
    @NGameRPCFun()
    static onMessage(message){
        console.log("SNWorld2ChatAction - onMessage",message);
    }


    
    @NGameRPCFun()
    static onProtobufMessage(message:NGameMessage){
        console.log("SNWorld2ChatAction - onProtobufMessage",message);
    }

}
